@import '../../themes/vars';

.profileIntro {
  // offset the padding-bottom of last row
  :global {
    .ant-row {
      margin-bottom: -16px;
      overflow: hidden;
    }
  }

  .title {
    margin-bottom: @base-size * 2;
    font-size: 24px;
    font-weight: 500;
    color: @text-color;
  }

  .term {
    .termText {
      display: inline-block;
      padding-bottom: @base-size * 2;
      width: 60px;
      line-height: 22px;
      color: @text-color-sub;
      white-space: nowrap;
      text-align-last: justify;
    }

    &:after {
      content: ':';
      margin: 0 8px 0 2px;
      position: relative;
      top: -0.5px;
    }
  }

  .detail {
    padding-bottom: @base-size * 2;
    line-height: 22px;
    color: @text-color;
  }

  &.small {
    // offset the padding-bottom of last row
    :global {
      .ant-row {
        margin-bottom: -8px;
      }
    }
    .title {
      margin-bottom: 12px;
      color: @text-color;
    }
    .term,
    .detail {
      padding-bottom: @base-size;
    }
  }

  &.large {
    .title {
      font-size: @text-size-big;
    }
  }

  &.vertical {
    .term {
      padding-bottom: @base-size;
      display: block;
    }

    .detail {
      display: block;
    }
  }
}
